package com.iaiai.cobra.repository.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.iaiai.cobra.repository.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * Created with UserMapper.
 * Package: com.iaiai.cobra.repository.mapper
 * Author: iaiai
 * Create Time: 2024/6/21 19:53
 * QQ: 176291935
 * Email: 176291935@qq.com
 * Description:
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    //分页查询
    Page<User> queryPage(Page page,@Param("search") String search);

}
